package cn.tedu.egnotice2.mapper;

import cn.tedu.egnotice2.pojo.datatransferobject.NoticeAddQuery;
import cn.tedu.egnotice2.pojo.entity.Notice;
import cn.tedu.egnotice2.pojo.valueobject.NoticeDetailInfoVO;
import cn.tedu.egnotice2.pojo.valueobject.NoticeListVO;

import java.util.List;

public interface NoticeMapper {
    int addNotice(Notice notice);

    List<NoticeListVO> queryNotice(NoticeAddQuery noticeAddQuery);

    NoticeDetailInfoVO queryDetail(Long id);

    int delNotice(Long id);

    int upNotice(Notice notice);
}
